package com.example.demo.service;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: sfx
 * Date: 2023-01-06
 * Time: 22:05
 */

@Slf4j
@RestController
public class TestService {
    @RequestMapping("/testservice")
    public void testService() {
        log.warn ("hi warn ~~~");
        log.error("hi error~~~");
    }
}
